package com.wahoyu.exportwordtest.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wahoyu.exportwordtest.domain.SaRunReport;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SaRunReportMapper extends BaseMapper<SaRunReport> {

    @Insert("insert into sa_run_report values (#{id},#{reportName},#{fileType},#{fileUrl},#{status},#{statusDesc},null,now())")
    int insertLog(SaRunReport sdfl);

    List<SaRunReport> queryList(SaRunReport log);

}